package com.novax.ex.activity.infrastructure.mapper;

import com.novax.ex.activity.infrastructure.entity.IeoVipLimit;
import com.novax.ex.common.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description vip限购数mapper
 * @Author Cody
 * @Date 2022/12/02/17:29
*/
public interface IeoVipLimitMapper extends BaseMapper {

    IeoVipLimit selectByIeoIdAndVipLevel(@Param("ieoId") Long ieoId, @Param("vipLevel") Integer vipLevel);

    List<IeoVipLimit> selectByIeoId(@Param("ieoId") Long ieoId);

    int batchInsert(@Param("list") List<IeoVipLimit> list);
}